package com.x.compute.core.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 计算表注解
 *
 * @author xuxin
 */

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Component
public @interface ComputeTable {

    /**
     * 表id
     * @return
     */
    String id() default "";

    /**
     * 表名称
     * @return
     */
    String name() default "";

}
